package com.plant.consult.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;
import lombok.ToString;

import java.util.Date;

@Data
@ToString
public class BackgroundRecordVo {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long conId;
    private String title;
    private String desc;
    private String contact;
    private String phone;
    private String province;
    private String city;
    private String district;
    private String address;
    private String detail;
    private String img;
    private Double money;
    private Integer conStatus;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;
    private Integer recordStatus;
    private String phName;
    private String userName;


}
